# Contributor: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=phosh-antispam
pkgver=3.3.1
pkgrel=0
pkgdesc="monitors Gnome Calls and manages phone calls from unidentified/unknown callers"
url="https://gitlab.com/kop316/phosh-antispam"
arch="all"
license="GPL-3.0-or-later"
depends="calls>=41_beta"
makedepends="
	desktop-file-utils
	glib-dev
	gtk4.0-dev
	libadwaita-dev
	meson
	"
source="https://gitlab.com/kop316/phosh-antispam/-/archive/$pkgver/phosh-antispam-$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
df4072211459313c91d5f501a8370af2edf10230889b1fa5c4f5c4989387bde5adf7ae7351c636902e7c6fc17c42d823aca6e202aaa022dab660308dc1190c0d  phosh-antispam-3.3.1.tar.gz
"
